lose (one's) nerve

Translations
струсить
He almost asked her out but lost his nerve at the last moment.
Он почти пригласил её на свидание, но струсил в последний момент.
Definitions
To become too afraid or anxious to do something that one had planned or intended to do, often resulting in backing out or failing to act.